package com.ssy.lingxi.order.model.vo.basic.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 供应会员Id与角色Id作为接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-08-24
 */
public class OrderVendorMemberVO implements Serializable {
    private static final long serialVersionUID = 4811000702960223114L;

    /**
     * 供应会员Id
     */
    @NotNull(message = "供应会员Id要大于0")
    @Positive(message = "供应会员Id要大于0")
    private Long vendorMemberId;

    /**
     * 供应会员角色Id
     */
    @NotNull(message = "供应会员角色Id要大于0")
    @Positive(message = "供应会员角色Id要大于0")
    private Long vendorRoleId;

    public Long getVendorMemberId() {
        return vendorMemberId;
    }

    public void setVendorMemberId(Long vendorMemberId) {
        this.vendorMemberId = vendorMemberId;
    }

    public Long getVendorRoleId() {
        return vendorRoleId;
    }

    public void setVendorRoleId(Long vendorRoleId) {
        this.vendorRoleId = vendorRoleId;
    }
}
